package com.syni.mdd.sjb.common.component.utils.feign.service.mdd.sjb.common.tool;

import com.syni.mdd.sjb.common.component.utils.feign.constants.Constants;
import com.syni.mdd.sjb.common.component.utils.feign.service.mdd.sjb.common.tool.dto.CheckVerificationCodeDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = Constants.SJB_COMMON_TOOL,path = Constants.SJB_COMMON_TOOL_PATH)
public interface VerificationCodeService {
    @PostMapping("/common/verificationCode/checkVerificationCode")
    Map<String,Object> checkVerificationCode(@RequestBody CheckVerificationCodeDto checkVerificationCodeDto);
}
